package cc.fine.svc.main.bean.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @AUTHOR: wyihe
 * @DATE: 2023/10/25
 */
@Data
public class UserVo {

    @ApiModelProperty(value = "用户名")
    @NotBlank(message = "用户名不能为空")
    private String username;

    @ApiModelProperty(value = "手机号，用来登录")
    @NotBlank(message = "手机号不能为空")
    private String phone;

    @ApiModelProperty(value = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;

    @ApiModelProperty(value = "头像url")
    private String avatar;

    @ApiModelProperty(value = "用户状态 0默认 -1停用，大于0表示被举报的次数")
    private Integer state;

    @ApiModelProperty(value = "自我介绍")
    private String selfIntroduce;

    @ApiModelProperty(value = "省份名")
    private String localMom;

    @ApiModelProperty("用户级别，默认0普通用户，1管理员")
    private Integer level;

}
